#pragma once

#include <list>
#include "Action.h"
#include "Unit.h"

struct node{
	Action* action;
	CUnit* unit;
};
/** */
class ActionStack
{
public:
	ActionStack(void);
	~ActionStack(void);
	/** */
	std::list<node*> redoStack;
	/** */
	std::list<node*> undoStack;
	/** */
	void redo();
	/** */
	void undo();
	/** */
	void push(Action* pAC, CUnit* unit);
};
